<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Aether.Physics2D: Transform Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NugetLogo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aether.Physics2D
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Transform Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A transform contains translation and rotation. It is used to represent the position and orientation of rigid frames.  
 <a href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for Transform:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform__coll__graph.svg" width="247" height="214"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7209fe6349140458375d7642817a6b65"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html#a7209fe6349140458375d7642817a6b65">Transform</a> (<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> position, <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_complex.html">Complex</a> rotation)</td></tr>
<tr class="memdesc:a7209fe6349140458375d7642817a6b65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize using a position vector and a <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_complex.html">Complex</a> rotation.  <a href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html#a7209fe6349140458375d7642817a6b65">More...</a><br /></td></tr>
<tr class="separator:a7209fe6349140458375d7642817a6b65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6613ef5da1b98e8904cf50275f264fb0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html#a6613ef5da1b98e8904cf50275f264fb0">Transform</a> (<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> position, float angle)</td></tr>
<tr class="memdesc:a6613ef5da1b98e8904cf50275f264fb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize using a position vector and a rotation.  <a href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html#a6613ef5da1b98e8904cf50275f264fb0">More...</a><br /></td></tr>
<tr class="separator:a6613ef5da1b98e8904cf50275f264fb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a028a1a26ae945ee7581281b8005ef6f8"><td class="memItemLeft" align="right" valign="top"><a id="a028a1a26ae945ee7581281b8005ef6f8"></a>
static <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Multiply</b> (<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> left, ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> right)</td></tr>
<tr class="separator:a028a1a26ae945ee7581281b8005ef6f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6d1150d0dde517ab6f45f32bdef72c3"><td class="memItemLeft" align="right" valign="top"><a id="ab6d1150d0dde517ab6f45f32bdef72c3"></a>
static <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Multiply</b> (ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> left, ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> right)</td></tr>
<tr class="separator:ab6d1150d0dde517ab6f45f32bdef72c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdd6af89810cc55b3b7f9de8c3eb4ced"><td class="memItemLeft" align="right" valign="top"><a id="afdd6af89810cc55b3b7f9de8c3eb4ced"></a>
static <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Divide</b> (<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> left, ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> right)</td></tr>
<tr class="separator:afdd6af89810cc55b3b7f9de8c3eb4ced"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a501d70d50f3162cc7b3bdd22033853cd"><td class="memItemLeft" align="right" valign="top"><a id="a501d70d50f3162cc7b3bdd22033853cd"></a>
static <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Divide</b> (ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> left, ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> right)</td></tr>
<tr class="separator:a501d70d50f3162cc7b3bdd22033853cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50be69523897e7b6339f090a175d151c"><td class="memItemLeft" align="right" valign="top"><a id="a50be69523897e7b6339f090a175d151c"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>Divide</b> (<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> left, ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> right, out <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> result)</td></tr>
<tr class="separator:a50be69523897e7b6339f090a175d151c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a541afdff54381e92f88a93ab8af86f5e"><td class="memItemLeft" align="right" valign="top"><a id="a541afdff54381e92f88a93ab8af86f5e"></a>
static <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Multiply</b> (ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> left, ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> right)</td></tr>
<tr class="separator:a541afdff54381e92f88a93ab8af86f5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1f30d4815051f4013e5a6a082487fb5"><td class="memItemLeft" align="right" valign="top"><a id="ad1f30d4815051f4013e5a6a082487fb5"></a>
static <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Divide</b> (ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> left, ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> right)</td></tr>
<tr class="separator:ad1f30d4815051f4013e5a6a082487fb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1044f88772e7c2dce46743cbb159ffa7"><td class="memItemLeft" align="right" valign="top"><a id="a1044f88772e7c2dce46743cbb159ffa7"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>Divide</b> (ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> left, ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> right, out <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> result)</td></tr>
<tr class="separator:a1044f88772e7c2dce46743cbb159ffa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1206da7984d2b0f55293c02d52f8a964"><td class="memItemLeft" align="right" valign="top"><a id="a1206da7984d2b0f55293c02d52f8a964"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>Multiply</b> (ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> left, <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_complex.html">Complex</a> right, out <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> result)</td></tr>
<tr class="separator:a1206da7984d2b0f55293c02d52f8a964"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c2cb594ddd4f2b03f8e1b81af70818d"><td class="memItemLeft" align="right" valign="top"><a id="a2c2cb594ddd4f2b03f8e1b81af70818d"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>Divide</b> (ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> left, <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_complex.html">Complex</a> right, out <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> result)</td></tr>
<tr class="separator:a2c2cb594ddd4f2b03f8e1b81af70818d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a4fd63e84775a4ecf562b0048fb475c8d"><td class="memItemLeft" align="right" valign="top"><a id="a4fd63e84775a4ecf562b0048fb475c8d"></a>
<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_complex.html">Complex</a>&#160;</td><td class="memItemRight" valign="bottom"><b>q</b></td></tr>
<tr class="separator:a4fd63e84775a4ecf562b0048fb475c8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3253449092162f2f71ed830682df697"><td class="memItemLeft" align="right" valign="top"><a id="ac3253449092162f2f71ed830682df697"></a>
<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><b>p</b></td></tr>
<tr class="separator:ac3253449092162f2f71ed830682df697"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a25dcad6a218327cb6482554309a54650"><td class="memItemLeft" align="right" valign="top"><a id="a25dcad6a218327cb6482554309a54650"></a>
static <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Identity</b><code> [get]</code></td></tr>
<tr class="separator:a25dcad6a218327cb6482554309a54650"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A transform contains translation and rotation. It is used to represent the position and orientation of rigid frames. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7209fe6349140458375d7642817a6b65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7209fe6349140458375d7642817a6b65">&#9670;&nbsp;</a></span>Transform() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a>&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_complex.html">Complex</a>&#160;</td>
          <td class="paramname"><em>rotation</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize using a position vector and a <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_complex.html">Complex</a> rotation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>The position.</td></tr>
    <tr><td class="paramname">rotation</td><td>The rotation</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6613ef5da1b98e8904cf50275f264fb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6613ef5da1b98e8904cf50275f264fb0">&#9670;&nbsp;</a></span>Transform() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a>&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>angle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize using a position vector and a rotation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>The position.</td></tr>
    <tr><td class="paramname">angle</td><td>The rotation angle</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>Physics2D/Common/Math.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacenkast.html">nkast</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether.html">Aether</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether_1_1_physics2_d.html">Physics2D</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether_1_1_physics2_d_1_1_common.html">Common</a></li><li class="navelem"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_transform.html">Transform</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
